<?php $form=$this->beginWidget('CActiveForm', array(
  'id'=>'rss-form',
  'enableAjaxValidation'=>false,
)); ?>
<div class="box">
	<div class="heading">
	  <h1><img src="image/book.png" alt="" />Insert Rss</h1>
	 <div class="buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
		<?php echo CHtml::link('Cancel', array('source/index'),array('class' =>'button')) ?>
	</div>
	</div>
	<div class="content">
  
		<div id="tab-data">
		  <table class="form">
			<tr>
			  <td><?php echo $form->labelEx($model,'rss_link'); ?></td>
			  <td><?php echo $form->textField($model,'rss_link',array('size'=>60,'maxlength'=>200)); ?></td>
			</tr>
			<tr>
			
			  <td><?php echo $form->labelEx($model,'category_id'); ?></td>
			  <td><?php echo $form->dropDownList( $model,'category_id', 
			  CHtml::listData(Category::model()->findAll(), 'category_id', 'category_name')
			  );?></td>
			  </tr>
		  </table>
		</div>
  
	</div>
  </div>
 <?php $this->endWidget(); ?>